﻿@model PrjctMngmt.Models.Topic

@using (Html.BeginForm("Create", "Topic", FormMethod.Post, new { id = "TopicForm" })) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Topic</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description) (optional)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

    </fieldset>
}